RawBitmap Buoy package.

RawBitmap.Constructor Constructor

Constructs a RawBitmap with a given color space. This constructor can either take external Bytes block instance or internally allocate the memory by it self

Constructor(
   srcBlock as Bytes,
   width as Integer,
   height as Integer,
   rowBytes as Integer,
   bitmapFormat as RawBitmap.BitmapFormats)

Parameters

srcBlock
External Bytes block containing the picture data. If passing nil here then the constructor will memory of correct size.
width
The width for the Bitmap.
height
The height for the Bitmap.
rowBytes
The number of bytes per row. This value cannot be smaller than width * channels.

Row bytes may be zero, in which case the class will put minimum size needed for the row bytes.
bitmapFormat
Format of the color components in the bitmap.

Remarks

See Also

RawBitmap Class